Skip to main content

All Questions

2votes
1answer
106views

Is there any e4crypt kernel side documentation?

I'm trying to understand e4crypt and fscrypt, and also how they differ. But it is hard to find documentation on e4crypt other than the command line tool man page and some old tutorials. Is there any ...
JanKanis's user avatar
5votes
2answers
496views

What can cause “multiply claimed blocks” on an ext4 drive?

“Multiply claimed blocks” is an error reported by fsck when blocks appear to belong to more than one file. This causes data corruption since both files change when one of the files are written. But ...
PetaspeedBeaver's user avatar
0votes
2answers
292views

Is using the SysRQ Emergency Remount an acceptable way to clone hard disk?

I'm using Linux (Ubuntu) and I was told that I can use the method described below to clone the system's hard drive to another one - to plug into a new machine. (Without booting from a Live CD) It ...
melonfsck - she her's user avatar
2votes
1answer
258views

Why fcntl() range lock (some offset to length) is slower as compared to fcntl full file lock (0 offset to EOF)? [closed]

I am trying to write on 1 GB file from 8 different processes (every process will start writing from 0th offset till EOF) simultaneously; while following two different approaches. Before writing every ...
MankPan's user avatar
1vote
1answer
476views

What‘s different between inode->i_rwsem and i_flctx?

When I trace the function graph when calling write(), I find that within function ext4_file_write_iter() it locks the inode->i_rwsem by calling inode_lock(inode) at the beginning. After that call ...
user503990's user avatar
1vote
1answer
2kviews

Getting sector number from inode or address_space mapping

In am trying to understand how to calculate a sector number from an inode in the ext4 filesystem. Therefore, I am reading ext4_mpage_readpages function. About the function: During a read request, if ...
user avatar
-2votes
1answer
517views

Compile a kernel using a custom file system type such as "myext4"

Is it possible to take the source code of ext4, make no changes to it apart from changing its name to "myext4" and then compiling my kernel so that it accepts this custom file system type? Is it as ...
Shubham's user avatar
5votes
1answer
5kviews

Is it safe to mount same ext4 filesystem at different mount points?

I know there is option "--bind" for multiple mount operation to handle such case. But ext4 can be directly mounted at different mount points, without option "--bind". So, I wonder whether it is safe ...
Lane's user avatar
  • 153
3votes
0answers
494views

Problems with file system

I created a partition with EXT4 file system and when I'm writing in this partition frequently the Kernel return the following error: Jan 01 01:17:54 infobuffer360 kernel: r7:c0561280 Jan 01 01:17:54 ...
Pedro Durek's user avatar

close